<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>super</title>
</head>
<body style="    width: 1080px;    margin: auto;">
<h1 style="    text-align: center;" th:text="${user.getName()} + '，WELCOME MY DUBBO!!!'">WELCOME MY DUBBO</h1>
<table style="    text-align: center;    width: 500px;    margin: auto;    border: 1px solid;" border="1">
    <tr>
        <td>手机号码</td>
        <td>姓名</td>
        <td>密码</td>
        <td>身份</td>
        <td>删除</td>
        <td>修改</td>
    </tr>
    <tr th:each="u : ${users}">
        <td th:text="${user.getId()}">姓名</td>
        <td th:text="${u.getName()}">姓名</td>
        <td th:text="${u.getPassword()}">密码</td>
        <td th:if="${u.getUserEnum().toString()} == 'Simple'" th:text="普通用户">身份</td>
        <td th:if="${u.getUserEnum().toString()} == 'Admin'" th:text="管理员">身份</td>
        <td th:if="${u.getUserEnum().toString()} == 'Super'" th:text="超级管理员">身份</td>
        <td><a href="/delete">删除</a> </td>
        <td><a href="/update">修改</a> </td>
    </tr>
</table>
</body>
</html>